package com.gluck.cases.core.modal.dto;


import com.gluck.cases.core.modal.BaseEntity;

/**
 * @ClassName RolePermissionDTO
 * @Desc RolePermissionDTO
 * @Author I am Gluck
 * @Date 2022/5/20 - 1:26 上午
 **/
public class RolePermissionDTO extends BaseEntity {

    private Integer id;

    private Integer roleId;

    private Integer permissionId;

    private String createdBy;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    @Override
    public String toString() {
        return "RolePermissionDTO{" +
                "id=" + id +
                ", roleId=" + roleId +
                ", permissionId=" + permissionId +
                ", createdBy='" + createdBy + '\'' +
                '}';
    }
}
